package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyuan.open.scanner.domain.tenant.TenantConfig;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-23
 */
@Data
@TableName("TMS_Company")
@ApiModel(value = "TmsCompanyDO对象", description = "")
public class CompanyDO implements Serializable {


    private static final long serialVersionUID = -8617525736444051257L;
    @ApiModelProperty("公司id")
    @TableId(value = "Company_ID", type = IdType.AUTO)
    private Long companyId;

    @ApiModelProperty("公司全称")
    private String companyName;

    @ApiModelProperty("是否个体司机 0 否 1 是")
    private Integer companyPersonal;

    @ApiModelProperty("所属行业")
    private Integer companyIndustry;

    @ApiModelProperty("公司logo")
    private String companyLogo;

    @ApiModelProperty("公司网站")
    private String companyWeb;

    @ApiModelProperty("公司简介")
    private String companyDescription;

    @ApiModelProperty("公司规模")
    private Integer companyScale;

    @ApiModelProperty("公司地址定位")
    private String companyMap;

    @ApiModelProperty("公司所属省份")
    private Long companyProvinceid;

    @ApiModelProperty("公司所属城市")
    private Long companyCityid;

    @ApiModelProperty("公司所属地区")
    private Long companyDistrictid;

    @ApiModelProperty("所属街道乡镇")
    private Long companyTownid;

    @ApiModelProperty("以半角逗号分隔的关键字")
    private String companyKeywords;

    @ApiModelProperty("联系人")
    private String companyContact;

    @ApiModelProperty("性别")
    private Integer companyGender;

    @ApiModelProperty("联系电话")
    private String companyPhone;

    @ApiModelProperty("公司认证状态 0 待审核 （兼容1 待审核） 2 已审核 3 拒绝 ")
    private Long companyStatus;

    @ApiModelProperty("公司电话")
    private String companyOfficeno;

    @ApiModelProperty("传真")
    private String companyFax;

    @ApiModelProperty("公司注册地址")
    private String companyAddress;

    @ApiModelProperty("邮编")
    private String companyZip;

    @ApiModelProperty("邮箱")
    private String companyMail;

    @ApiModelProperty("公司编号")
    private String companyClientcode;

    @ApiModelProperty("公司简称")
    private String companyShortname;

    @ApiModelProperty("英文全称")
    private String companyEnname;

    @ApiModelProperty("英文简称")
    private String companyShortenname;

    @ApiModelProperty("企业法人")
    private String companyMaster;

    @ApiModelProperty("营业执照编号")
    private String companyLicense;

    @ApiModelProperty("营业执照图片")
    private String companyLicensepic;

    @ApiModelProperty("微信")
    private String companyWeixin;

    @ApiModelProperty("所属银行")
    private String companyBank;

    @ApiModelProperty("银行账号")
    private String companyBankaccount;

    @ApiModelProperty("推荐公司编号")
    private Long companyReferecompany;

    @ApiModelProperty("创建人")
    private Long companyCreatorid;

    @ApiModelProperty("创建时间")
    private LocalDateTime companyInserttime;

    @ApiModelProperty("修改人")
    private Long companyUpdater;

    @ApiModelProperty("修改时间")
    private LocalDateTime companyUpdatetime;

    @ApiModelProperty("是否有效 0,有效 1,失效 2,cp删除 ")
    private Integer companyInvalid;

    @ApiModelProperty("备注")
    private String companyComments;

    @ApiModelProperty("是否集团总部 1.是 0.否")
    private Long companyIsgroup;

    @ApiModelProperty("是否园区总部 1.是 0.否")
    private Long companyIszones;

    @ApiModelProperty("关账日期使用<号")
    private Integer companyBillday;

    @ApiModelProperty("驾驶证号")
    private String companyDriverslicense;

    @ApiModelProperty("行驶证号")
    private String companyDrivinglicense;

    @ApiModelProperty("车牌号")
    private String companyCardid;

    @ApiModelProperty("驾驶证照片")
    private String companyDriverslicensepic;

    @ApiModelProperty("行驶证照片")
    private String companyDrivinglicensepic;

    @ApiModelProperty("车牌照片")
    private String companyCardidpic;

    @ApiModelProperty("是否人工复检 1 是 0 否")
    private Integer companyVerify;

    @ApiModelProperty("签收是否冒泡 1 冒泡 2 不冒泡")
    private Integer companySigntype;

    @ApiModelProperty("注册来源 0 标准注册 1 张堰镇物流源 2 微信小程序")
    private Integer companySource;

    @ApiModelProperty("公司营业执照号")
    private String companyCode;

    @ApiModelProperty("公司省份")
    private Long companyProvince;

    @ApiModelProperty("公司城市")
    private Long companyCity;

    @ApiModelProperty("公司所属区（县）")
    private Long companyDistrict;

    @ApiModelProperty("0,未进入审核状态 1,待审核状态2,已拒绝")
    private Long companyCheck;

    @ApiModelProperty("开户行")
    private String companyBankfirst;

    @ApiModelProperty("银行卡姓名")
    private String companyBankname;

    @ApiModelProperty("个体司机认证通过时间")
    private LocalDateTime companyVerifytime;

    @ApiModelProperty("cp端公司列表 0,显示 1,不显示")
    private Integer companyInvalidcp;

    @ApiModelProperty("公司办公地址")
    private String companyWorkingaddress;

    @ApiModelProperty("公司地址经度")
    private Double companyAddresslongitude;

    @ApiModelProperty("公司地址纬度")
    private Double companyAddresslatitude;

    @ApiModelProperty("公司域名")
    private String companyDomainname;

    @ApiModelProperty("拒绝原因")
    private String companyRefusalreason;

    @ApiModelProperty("api登录授权")
    private Integer companyIsapitoken;

    private Integer optStatus;

    private String companyGuid;

    @TableField(exist = false)
    private Integer companyRegistertype;

    @TableField(exist = false)
    private String province;

    @TableField(exist = false)
    private String city;

    @TableField(exist = false)
    private String district;

    @TableField(exist = false)
    private String inviterName;

    @TableField(exist = false)
    private String inviterMobile;

    @TableField(exist = false)
    private Long inviterUserId;

    @TableField(exist = false)
    private Long inviterTenantId;

    @TableField(exist = false)
    private Integer gender;
    @TableField(exist = false)
    private String nick;
    @TableField(exist = false)
    private String avatar;
    @TableField(exist = false)
    private String openId;

    @TableField(exist = false)
    private String idcard;
    @TableField(exist = false)
    private String idcardBack;
    @TableField(exist = false)
    private String idcardFront;
    @TableField(exist = false)
    private String personFront;
    @TableField(exist = false)
    private LocalDate birthday;
    @TableField(exist = false)
    private String rejectReason;
    @TableField(exist = false)
    private Integer driverPersonalSnRefuse;

    @TableField(exist = false)
    private String drivingLicenseFront;
    @TableField(exist = false)
    private String vehicleFront;
    @TableField(exist = false)
    private String plateNo;
    @TableField(exist = false)
    private String vehicleType;
    @TableField(exist = false)
    private String vehicleModel;
    @TableField(exist = false)
    private LocalDate registerDate;
    @TableField(exist = false)
    private LocalDate issueDate;
    @TableField(exist = false)
    private String ownerName;
    @TableField(exist = false)
    private String driveringLicenseRejectReason;
    @TableField(exist = false)
    private Integer driverCarSnRefuse;

    @TableField(exist = false)
    private String licenseNo;
    @TableField(exist = false)
    private String driverType;
    @TableField(exist = false)
    private String driverLicenseBack;
    @TableField(exist = false)
    private String driverLicenseFront;
    @TableField(exist = false)
    private LocalDate driverIssueDate;
    @TableField(exist = false)
    private LocalDate driverValidFromDate;
    @TableField(exist = false)
    private LocalDate driverValidToDate;
    @TableField(exist = false)
    private String driverOwnerName;
    @TableField(exist = false)
    private String driverLicenseRejectReason;
    @TableField(exist = false)
    private Integer driverSnRefuse;

    @TableField(exist = false)
    private String certNo;
    @TableField(exist = false)
    private String businessScope;
    @TableField(exist = false)
    private String certFront;
    @TableField(exist = false)
    private LocalDate transIssueDate;
    @TableField(exist = false)
    private LocalDate transValidToDate;
    @TableField(exist = false)
    private String transOwnerName;

    @TableField(exist = false)
    private BigDecimal length;
    @TableField(exist = false)
    private BigDecimal loadWeight;
    @TableField(exist = false)
    private BigDecimal volume;
    @TableField(exist = false)
    private String model;
    @TableField(exist = false)
    private LocalDate buyDate;
    @TableField(exist = false)
    private LocalDate insuranceEndDate;

    @TableField(exist = false)
    private String raw;

    @TableField(exist = false)
    private TenantConfig tenantConfig;
}
